#ifndef CAPTUREREQUEST_H
#define CAPTUREREQUEST_H

#pragma once
#include <QString>
#include <QVariant>

class CaptureRequest
{
public:
    enum CaptureMode {
        FULLSCREEN_MODE,    //全屏
        GRAPHICAL_MODE,     //自定义GUI
        SCREEN_MODE,        //窗口
        OSMANAGER_MODE      //管家GUI
    };

    CaptureRequest(CaptureRequest::CaptureMode mode, const QVariant &data = QVariant());
    void setStaticID(uint id);      //设置强制id

    uint id() const;                //获取唯一的id
    QVariant data() const;
    CaptureMode captureMode() const;

private:
    CaptureMode m_mode;
    QVariant m_data;
    bool m_forcedID;
    uint m_id;                      // CaptureRequest的id
};
#endif // CAPTUREREQUEST_H
